package com.example.demo;

import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        String[] c = new String[]{"1","2","3","4","5"};
        List<String> list = new LinkedList<>();
        for (String s:
             c) {
            list.add(s);
        }
        System.out.println(list);
    }
}
